/*
 *    Copyright (c) 2018-2025, boss All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the boss developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: boss
 */

package com.hopes.bizz.enforcement.hid.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hopes.bizz.enforcement.hid.dto.HidCheckTaskItemDTO;
import com.hopes.bizz.enforcement.hid.dto.HidChecklistTaskDTO;
import com.hopes.bizz.enforcement.hid.dto.RiskHidCheckTaskDTO;
import com.hopes.bizz.enforcement.hid.entity.RiskHidCheckTaskEntity;
import com.hopes.bizz.enforcement.hid.entity.RiskHidCheckTaskRecordEntity;

import java.util.Collection;
import java.util.List;

/**
 * 隐患检查任务
 *
 * @author pig
 * @date 2023-07-25 17:24:15
 */
public interface RiskHidCheckTaskService extends IService<RiskHidCheckTaskEntity> {

    /**
     * 完成检查任务
     * @param checklistTaskDTO 参数
     * @return                 结果
     */
    boolean completeTask(HidChecklistTaskDTO checklistTaskDTO);

    /**
     * 检查任务签字
     * @param checklistTaskDTO  参数
     * @return                  结果
     */
    boolean hidCheckTaskSign(HidChecklistTaskDTO checklistTaskDTO);

    /**
     * 体检检查任务的检查项
     * @param hidCheckTaskItem 检查项
     * @return
     */
    boolean submitCheckTaskItem(HidCheckTaskItemDTO hidCheckTaskItem);

    /**
     * 批量提交检查项
     * @param ids  ids
     * @return     结果
     */
    boolean batchSubmitCheckTaskItem(List<Long> ids);

    void saveTask(RiskHidCheckTaskDTO riskHidCheckTask);



}
